home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Mag HDD Backup
/
Amiga Mag HDD Backup.zip
/
Amiga Mag HDD Backup
/
Alexander.img.bin
/
Alexander.img
/
315 2 files Archive.sit
/
Any plain-text files
/
? Any plain-text file 72
< prev
next >
Wrap
Text File
|
1995-01-03
|
1KB
|
40 lines
equest
* can not be completed immediately.
*/
printf("\nCalling BeginIO with time delay request\n");
timerIO->tr_time.tv_secs = 5;
timerIO->tr_time.tv_micro = 0;
timerIO->tr_node.io_Flags &= IOF_QUICK;
BeginIO((struct IORequest*)timerIO);
if ( timerIO->tr_node.io_Error )
{
printf("Error from BeginIO, err = %d\n",
timerIO->tr_node.io_Error);
goto allDone;
}
if( ioReqCopy )
{
printf("\nCalling SendIO with time delay request\n");
ioReqCopy->tr_node.io_Command = TR_ADDREQUEST;
ioReqCopy->tr_time.tv_secs = 60;
ioReqCopy->tr_time.tv_micro = 0;
SendIO((struct IORequest*)ioReqCopy);
if ( ioReqCopy->tr_node.io_Error )
printf("Error from SendIO, err = %d\n",
ioReqCopy->tr_node.io_Error);
copySent = 1;
}
if ( ! (timerIO->tr_node.io_Flags & IOF_QUICK) )
{
printf("Waiting for BeginIO to complete...\n");
WaitIO((struct IORequest*)timerIO);
}
printf("BeginIO()